<% if object['custom_field'] %>
<p>
  <%= object['custom_field'] %>
</p>
<% end %>